import { ITouchEvent, Text } from '@tarojs/components';
import React from 'react';

type IconFontType = {
    name: string;
    className?: string;
    style?: React.CSSProperties;
    onClick?: (e?: ITouchEvent) => void;
};
const IconFont = ({ name, className, style, onClick }: IconFontType) => {
    return (
        <Text className={`iconfont icon-${name} ${className}`} style={style} onClick={onClick}>

        </Text>
    );
};

export default IconFont;
